<div id="default_header_section">
<h5>
    <a href="/<?=$this->lang ?>/message/received">< <?=$this->translate('back to messages received') ?></a>
</h5>
<h3><?=$this->escape($this->message['subject']) ?></h3>
</div>
<?
if (count ( $this->mensajes ) > 0) {
	echo '<div class="success">';
	foreach ( $this->mensajes as $msg ) {
		echo $msg . '<br>';
	}
	echo '</div>';
}
?>
<div id="main">
<div class="span-15">
<div class="delete_message">
            <a href="/<?=$this->lang ?>/message/delete/id/<?=$this->escape($this->message['id']) ?>">
                <?=$this->translate('delete this message') ?>
            </a></div>

        <div class="ad_excerpt_show">
           <span class="ad_date"><?=$this->translate('Sent'). ' ' .$this->message['date_created'] ?>
            <?=$this->translate('by user ') ?> 
            <a href="/<?=$this->lang ?>/profile/<?=$this->username_from['username'] ?>"><?=$this->username_from['username'] ?></a>
            </span>
           <br />
           <span><?php echo $this->escape($this->message['body']) ?></span>
</div>


<?php //don't show reply form if its a sent message 
$auth = Zend_Auth::getInstance ();
if ($this->message['user_to'] == $auth->getIdentity()->id): ?>
<div class="ad_comment_form">
    <h5><?=$this->translate('Reply to this message') ;?></h5>
        <?=$this->createreply ?>
</div>
<?php endif;?>




</div>
<!-- google adsense block -->
<div class="google_ads">
<script type="text/javascript"><!--
google_ad_client = "pub-7190437604389924";
/* 300x250, creado 9/01/10 */
google_ad_slot = "7269761465";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<!-- end of google adsense block -->
</div>